package com.outfood.common.common;

import lombok.Data;

/**
 * @Author huisonglin
 * @Description
 * @PackageName outfood-platform
 * @Package com.outfood.common.common
 * @Date 2024-03-26 12:10
 * @Version 1.0
 */
@Data
public class Result {

    private Integer code;

    private String message;

    private Object data;

    public Boolean isSuccess(){
        return code == 0?true:false;
    }
}
